package outboxHandler;

import java.nio.ByteBuffer;

/** ########################################################################## */
public interface OutboxHandler {
	
	/**
	 * Reads incoming data from the client
	 */
//	public void read();
	
	/**
	 * attempts to send data in the outbox to the client
	 */
	public void write();
	
	/**
	 * updating the outbox with messages for client
	 * @param outMessage - containing the message to deliever to client in a form of Bytes already encoded
	 */
	public void updateOutBox(ByteBuffer outMessage);
}
